<?php


namespace app\admin\controller;


use app\BaseController;
use think\facade\Db;

class Paypal extends BaseController
{
    public function index()
    {
        return $this->success(Db::table('paypal')->find(1));
    }

    public function update()
    {

        return $this->success(Db::table('paypal')->where('id',1)->update(request()->param()));
    }
}